package com.tl.sun.model;

import com.google.gson.annotations.SerializedName;

/**
 * Created by apple on 17/4/25.
 */

public class RobustBean {

    /**
     * ret : 0
     * code : 1
     * msg : success
     * ret_data : {"title":"热更新","url":"http://hot-update.oss-cn-hangzhou.aliyuncs.com/4ad739cc3372eb017c777c0d3bc0a743.jpg","in_code":5,"out_code":"1.1.1"}
     * timestamp : 1492759839
     */

    private int ret;
    private String code;
    private String msg;
    @SerializedName("ret_data")
    private RetDataBean data;
    private int timestamp;

    public int getRet() {
        return ret;
    }

    public void setRet(int ret) {
        this.ret = ret;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public RetDataBean getData() {
        return data;
    }

    public void setData(RetDataBean data) {
        this.data = data;
    }

    public int getTimestamp() {
        return timestamp;
    }

    public void setTimestamp(int timestamp) {
        this.timestamp = timestamp;
    }

    public static class RetDataBean {
        /**
         * title : 热更新
         * url : http://hot-update.oss-cn-hangzhou.aliyuncs.com/4ad739cc3372eb017c777c0d3bc0a743.jpg
         * in_code : 5
         * out_code : 1.1.1
         */

        private String title;
        private String url;
        @SerializedName("in_code")
        private int vCode;
        @SerializedName("out_code")
        private String vName;

        public String getTitle() {
            return title;
        }

        public void setTitle(String title) {
            this.title = title;
        }

        public String getUrl() {
            return url;
        }

        public void setUrl(String url) {
            this.url = url;
        }

        public int getvCode() {
            return vCode;
        }

        public void setvCode(int vCode) {
            this.vCode = vCode;
        }

        public String getvName() {
            return vName;
        }

        public void setvName(String vName) {
            this.vName = vName;
        }
    }
}
